import React from "react";
import { Layout } from "antd";
import "./main.css";
import TeacherList from "../../components/TeacherList";

const { Content, Footer } = Layout;

export default function Main(props) {
  return (
    <Layout style={{ height: "100vh", backgroundColor: "white" }}>
      <Content style={{ alignSelf: "center" }}>
        <TeacherList />
      </Content>
      <Footer
        style={{ textAlign: "center", padding: 0, backgroundColor: "white" }}
      ></Footer>
    </Layout>
  );
}
